import App from './App'

import Vue from 'vue'
import $baseUrl from '@/request/urlConfig.js'
import * as api from "@/request/index.js"
import '@/utils/index.js'; //方法
import '@/mixins/index.js'; //全局mixins
import tree from '@/components/tree/tree'
import uView from '@/uni_modules/uview-ui'

import Videojs from '!video.js' // 一定要加!
import 'video.js/dist/video-js.css'
Vue.prototype.$video = Videojs
Vue.use(uView)
Vue.prototype.$baseUrl = $baseUrl
Vue.prototype.$api = api
Vue.config.productionTip = false
App.mpType = 'app'
// import Vconsole from 'vconsole'
// new Vconsole
Vue.component('tree', tree)
const app = new Vue({
	...App
})
app.$mount()